﻿using System;
namespace ORS.OrderRobot.ServiceContracts.Dtos
{
	/// <summary>
	/// 接口响应信息
	/// </summary>
	/// <typeparam name="T"></typeparam>
	public class ResponseInfo<T>
	{
		/// <summary>
		/// http状态码
		/// </summary>
		public int StatusCode { get;set; }
		/// <summary>
		/// http头
		/// </summary>
    	public Dictionary<string,string> Headers { get; set;}
		/// <summary>
		/// 响应内容
		/// </summary>
		public T? Body {get;set;} = default(T);
		/// <summary>
		/// 接口返回的原始内容
		/// </summary>
		public string RawContent { get; set; }

	}
}

